package org.magnerfuller.imtoolkit.server.connection.handler;

import java.util.Map;

/**
 * 
 * Class ConnectionHandlerDescription
 * 
 * Objects of this class describe a connection handler
 * such that a ConnectionHandler can be created by
 * a ConnectionHandlerFactory.
 *
 */
public class ConnectionHandlerDescription {
  
  /** data -- The table of string properties describing a handler */
  private Map<String, String> data;
  
  /**
   * Constructor
   * 
   * @param data The string properties for the handler.
   */
  public ConnectionHandlerDescription(Map<String, String> data) {
    this.data = data;
  }//ConnectionHandlerDescription
  
  /**
   * Get the string properties that describe a connection handler.
   * 
   * @return the properties
   */
  public Map<String, String> getHandlerData() {
    return data;
  }//getHandlerData
}
